import { Module } from '@nestjs/common';
import { Coupon_Service } from './coupon.service';
import { Coupon_Controller } from './coupon.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Coupon } from './assets/coupon.entity';
import { CouponSort } from '../couponSort/assets/couponSort.entity';
import { UserClient_Module } from '../userClient/userClient.module';
import { CouponUserClient_Module } from '../couponUserClient/couponUserClient.module';
import { CouponUserClient } from '../couponUserClient/assets/couponUserClient.entity';

@Module({
  imports: [
    UserClient_Module,
    CouponUserClient_Module,
    TypeOrmModule.forFeature([Coupon, CouponSort, CouponUserClient]),
  ],
  controllers: [Coupon_Controller],
  providers: [Coupon_Service],
  exports: [Coupon_Service],
})
export class Coupon_Module {}
